Hyperpay\Gateways\App\DefaultGateway B

Total Complexity 83
Dependencies 4
Dependents 0
Total lines 934
Lines of code 476
Logical lines of code 235
Comment lines 257
Methods 24
Properties 28

Methods 24

Method Rating Maintainability Complexity Lines of code
failed()
A
46 10 35
process_admin_options()
A
47 10 32
init_form_fields()
A
37 5 86
check_status()
S
59 7 12
validate_form()
S
57 6 14
renderPaymentForm()
S
50 4 26
success()
S
53 4 21
prepareCheckout()
S
43 2 49
__construct()
S
47 3 34
capture_payment()
S
49 3 30
set_icons()
S
59 4 13
process_payment()
S
52 3 24
order_received_text()
S
64 4 9
admin_script()
S
60 3 12
receipt_page()
S
55 2 18
action_before_woocommerce_pay()
S
63 3 10
getEntity()
S
67 2 8
processQueryResult()
S
65 2 8
setExtraData()
S
82 1 3
isJson()
S
76 1 4
queryTransactionReport()
S
73 1 4
get_hyperpay_trans_type()
S
70 1 7
get_order_status()
S
69 1 7
pending()
S
62 1 10